<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
   <link rel="shortcut icon" href="/images/favicon.ico" />
    <title><?php if (!include_slot('title')) : ?>Rubicon - Waste & Recycling Management<?php endif ?></title>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
  </head>
  <body>
  		<div id="wrapper">
        	<div id="header">
            	
                      <?php if ($sf_user->isAuthenticated()) : ?>
                      <div id="user-box">
						  <?php echo "Hi, ".$sf_user->getAttribute('username') ?>
                          <a href="<?php echo url_for('user/logout') ?>"><?php echo 'Logout' ?></a>
      					</div>
      <?php endif; ?>

            </div>
            <div id="content">
  					 <?php echo $sf_content ?>          	
            </div>
            <!--<div id="right-side-menu">
            	
           		 <a href="#"><img src="/images/rss-icon.png" alt=" " width="38" height="38" border="0" /></a></div>-->
            
      <div id="footer">
            	<span class="button-menu"><a href="#">RUBICON HOME</a> |  <a href="#">ABOUT US</a> |  <a href="#">CONTACT US</a></span>
            	
            </div>
        </div>
     
  </body>
</html>
